package com.zrrd.yunchmall.gateway.client;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;

/**
 * @author yekong
 */
@SuppressWarnings("all")
@FeignClient("shop-user")//远程调用shop-user服务
public interface AuthServiceClient {
    @RequestMapping("/user/auth")
    public Object auth(@RequestParam("token") String token);
}
